<?php


$hero_all = $_cache_obj->get ( "hero_all_cache" );
 
if (! $hero_all) {
	$hero_all = db_factory::query ( "select a.uid,a.username,sum(a.fina_cash) \n".
"as cash,count(*) as count,b.reg_time\n".
"   FROM ".TABLEPRE."witkey_finance  as a \n".
"left join ".TABLEPRE."witkey_space as b on a.uid = b.uid \n".
"where fina_type='in'  group by uid order by cash desc limit 0,8" );
}


?> 